﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace Bungalow
{
    public interface IApp 
    {
        Dictionary<String, Image> AppIcon { get;  }
        Bungalow Host { get; set; }
        String Title
        {
            get;
        }
        void Save();
        /// <summary>
        /// Execute a client script like Javascript
        /// </summary>
        /// <param name="script"></param>
        /// <returns></returns>
        Object ExecuteScript(String script);
        void Save(String fileName);
        bool isSaved { get; }
        void LoadFile(String fileName);
        String FileName { get; set; }
        bool Close();
        void Init(String _namespace);
        String Namespace
        {
            get;
        }
        Uri PlayNext();

        bool Navigate(Uri uri);

        void BringToFront();
    }
}
